package com.lovo.bean;

/**
 * 房间类
 */
public class Room {
    private int id;
    /**
     * 房间地址
     */
    private String addr;
    /**
     * 可容纳人数
     */
    private int count;
    /**
     * 已住人数
     */
    private int inCount;
    /**
     * 房间类型
     */
    private String type;
    /**
     * 房间状态
     */
    private String status;

    public Room() {
    }

    public Room(int id, String addr, int count, int inCount, String type, String status) {
        this.id = id;
        this.addr = addr;
        this.count = count;
        this.inCount = inCount;
        this.type = type;
        this.status = status;
    }

    public Room(int id) {
        this.id = id;
    }

    public Room(String addr) {
        this.addr = addr;
    }
    public Room(int id,String addr) {
        this.id = id;
        this.addr = addr;
    }

    @Override
    public String toString() {
        return addr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getInCount() {
        return inCount;
    }

    public void setInCount(int inCount) {
        this.inCount = inCount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
